<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="navbar.jsp" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title>My JSP 'idea_show.jsp' starting page</title>
	<link rel="stylesheet" type="text/css" href="styles/css/bootstrap.min.css" />
  </head>
  
  <body class="body">
   	<div class="container" style="margin-top:60px;width:960px;margin-left:auto;margin-right:auto;">

	  <div class="row">
	
	
		<!-- 导入左侧部分 -->
		<jsp:include page="side.jsp">
			<jsp:param value="idea" name="tag"/>
		</jsp:include>
		
		
		<div class="span9">
			<ul class="breadcrumb" style="margin-bottom:0px;border-radius: 3px 3px 0 0;margin-top:15px">
				<li class="active">
					
					<a href="idea.jspx"><i class="icon-fire"></i>想法</a>&nbsp;&nbsp;<small style="color:#d9d9d9">${idea.ideaName }</small>
				</li>
				
			</ul>
			<div class="wall" style="border:1px solid #ddd;padding:15px">
				
					  <div class="page-header">
						<h3>${idea.ideaName }&nbsp;&nbsp;<small>${idea.user.nickName }发布于${idea.time }</small></h3>
					  </div>
					  <p>${idea.desc }</p>
				 
				  <div class="line">
					评论
				  </div>
				  <form action="idea.jspx?m=idea_show" method="post">
					<textarea name="desc" id="" class="span8" rows="5"></textarea>
					<br/>
					<button class="btn">发布</button>
				  </form>

				
				 <c:forEach items="${ideacommentlist }" var="iclist">
				 <blockquote>
				  ${iclist.desc }
				  <small>
					${iclist.user.nickName }发布于 ${idea.time }
					
				  </small>
				  
				</blockquote>
				
				</c:forEach>
				
				
				<a href="idea.jspx">←返回想法列表</a>
			</div>
		</div>
	  </div>
	</div>
   	
  </body>
</html>
